package com.example.springtest.people.service;

import com.example.springtest.people.pojo.dto.PeopleDTO;
import com.example.springtest.people.pojo.entity.People;
import com.example.springtest.people.pojo.vo.AvatarVO;
import com.example.springtest.people.pojo.vo.PeopleVO;
import org.springframework.stereotype.Service;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

@Service
public interface PeopleService {
    void addPeople(PeopleDTO peopleDTO);

    List<PeopleVO> getPeopleList();

    People getPeople(Integer stu_id);

    void deletePeople(Integer stu_id);

    void editPeople(Integer id, PeopleDTO peopleDTO);

    void uploadAvatar(Integer id, MultipartFile file);


    List<AvatarVO> getAvatarList();
}
